<template>
	<view class="">
		<view class="title-box">
			<u-cell-group :border="false">
				<u-cell-item title="门禁管理" :border-bottom="false" :border-top="false" :arrow="false"
					:title-style="{fontSize:'40rpx',fontWeight:700,color:'#000'}">
				</u-cell-item>
			</u-cell-group>
		</view>
		<view style="background-color: #fff;">
			<view style="width: 400rpx;">
				<u-tabs :list="list" bar-width="120" :is-scroll="false" :current="current" @change="change"></u-tabs>
			</view>
		</view>
		<view class="bill one" v-if="current==0">
			<view class="not">
				暂无更多数据
			</view>
		</view>
		<view class="bill tow" v-else>
			<view class="not">
				暂无更多数据
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dateTime: '2023-05',
				params: {
					year: true,
					month: true,
					day: false,
					hour: false,
					minute: false,
					second: false
				},
				show: false,
				list: [{
					name: '呼叫记录'
				}, {
					name: '开门记录'
				}],
				current: 0
			}
		},
		methods: {
			change(index) {
				this.current = index;
			},
			affirmPicker(e) {
				this.dateTime = e.year + '-' + e.month
			}
		}
	}
</script>

<style lang="scss" scoped>
	.bill {
		&.tow {
			.selct {
				margin: 20rpx 30rpx;
				font-weight: 700;
			}
		}

		.not {
			display: flex;
			justify-content: center;
			margin-top: 200rpx;
			color: $-color-muted;
		}
	}
</style>